<template>
  <div>
    <ul class="list">
      <li v-for="(item, index) in list" :key="index">
        <img :src="item.img" alt="" />
        <p>{{ item.title }}</p>
      </li>
    </ul>
  </div>
</template>

<script>
export default {
  props: ["list"],
  data() {
    return {};
  },
  mounted() {},
  methods: {},
};
</script>

<style lang="scss" scoped>
.list {
  display: flex;
  flex-wrap: wrap;
  li {
    width: 50%;
    img {
      width: 80%;
    }
  }
}
</style>
